// import './promise.finally'
import _finally from "./promise.finally";
console.log(`finally is`, _finally);
let cdd = (function (P) {
    return new P((resolve, reject) => {
        setTimeout(() => {
            resolve('cdd');
        }, 1000);
    });
}(Promise));
cdd.then((res) => {
    console.log(`值是: ${res}`);
}).finally(() => {
    console.log(`结束了`);
});
